home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970929-19971216
/
000172_news@newsmaster….columbia.edu _Thu Oct 23 10:06:50 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-15
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07137
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 23 Oct 1997 10:06:49 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA29825
for kermit.misc@watsun; Thu, 23 Oct 1997 10:06:49 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Dedicated hard-copy printer
Date: 23 Oct 1997 14:06:47 GMT
Organization: Columbia University
Lines: 44
Message-ID: <62nlln$4mp$1@apakabar.cc.columbia.edu>
References: <62m3b2$lc5$1@samba.rahul.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7952
In article <62m3b2$lc5$1@samba.rahul.net>, <dold@network.rahul.net> wrote:
: I have an application where we used to have a serial VT100 terminal
: (honest-to-goodness DEC), and a serial printer slaved to it.
:
: The printer died.
:
: I thought I'd replace the terminal and printer with a PC running MSKermit
: 3.15, and a parallel printer.
:
Since the VT100 had a serial printer, of course, you could just skip the PC
and put the serial printer where the VT100 used to be (assuming you didn't
really use the VT100 for anything). But I'm sure you thought of that...
: I can't figure out how to get the printer to print everything that appears
: on the screen in real time.
: I tried "log session lpt1" which sort of works, except that it doesn't
: print until I quit kermit...
:
That's because Kermit sends print material to the DOS printer device, which
is buffered (by DOS). If it didn't do it this way, it would have to
incorporate its own printer drivers, parallel port drivers, etc, and then it
would no longer be a small program.
: The printout is kept as a historical log file, which can only be replaced
: by disk logs if I devote some educational effort toward the techs involved.
: I'd rather not, if I can get the dedicated printer working ;-)
:
>From the KERMIT.BWR file that comes with MS-DOS Kermit:
The session log is written to disk by DOS. The frequency with which DOS
updates this file is governed by the BUFFERS= line in your CONFIG.SYS file
(see your DOS manual). If you allocate a large number of buffers in
CONFIG.SYS, disk operations occur infrequently and this improves performance.
If you need to have the session log updated more frequently to minimize the
loss of data, e.g. when there is a power failure, you can do this (at the
expense of efficiency) by allocating fewer buffers in CONFIG.SYS.
(End quote)
In other words, it's a DOS limitation. Interested parties are, of course,
welcome to recommend (or write) alternative printer drivers that can be
configured to behave differently.
- Frank